package com.example.safeassistan.home.model;

import java.util.List;

public class RiskDetailInstruction {


    /**
     * success : true
     * message : 操作成功！
     * code : 0
     * result : [{"createTime":"2021-04-20 16:11:07","postContent":"<p>内容一<\/p>","postDesc":"描述中"}]
     * timestamp : 1622689134541
     */

    private Boolean success;
    private String message;
    private Integer code;
    private Long timestamp;
    private List<ResultDTO> result;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultDTO> getResult() {
        return result;
    }

    public void setResult(List<ResultDTO> result) {
        this.result = result;
    }

    public static class ResultDTO {
        /**
         * createTime : 2021-04-20 16:11:07
         * postContent : <p>内容一</p>
         * postDesc : 描述中
         */

        private String createTime;
        private String postContent;
        private String postDesc;

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getPostContent() {
            return postContent;
        }

        public void setPostContent(String postContent) {
            this.postContent = postContent;
        }

        public String getPostDesc() {
            return postDesc;
        }

        public void setPostDesc(String postDesc) {
            this.postDesc = postDesc;
        }
    }
}
